import { Component } from "react";

class Chapter1 extends Component {
    constructor(props) {
        super(props);
    }
    render() {
        const { title } = this.props;
        const content = "这里是一段警示文本内容";
        return (
            <>
                <div className='wrapper wrapper1'>
                    <div className='page-header'>
                        <h3>{title}</h3>
                    </div>
                    <div className='page-content'>
                        <div className='alert alert-danger'>{content}</div>
                    </div>
                </div>
            </>
        );
    }
}

export default Chapter1;
